package com.szxy.cart.service.impl;

import com.szxy.cart.feigin.CommonRedisFeignClient;
import com.szxy.cart.service.CheckUserTokenService;
import com.szxy.pojo.TbUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther:zwer
 * @Date:2019/9/26 14:29
 * @Description:com.szxy.cart.service.impl
 * @Version:1.0
 **/
@Service
public class CheckUserTokenServiceImpl implements CheckUserTokenService {

    @Autowired
    private CommonRedisFeignClient commonRedisFeignClient;

    @Override
    public TbUser checkUserToken(String userToken) {
        return this.commonRedisFeignClient.checkUserToken(userToken);
    }
}
